package com.aphrodite.ui.widgets.chart;

import javax.microedition.lcdui.Graphics;

import com.aphrodite.util.geom.Rectangle;

public class SimpleBarChart extends BarChart {

	public SimpleBarChart(int width, int height) {
		super(width, height);
		bgArea = new Rectangle(20, 0, width - 20, height - 20);
	}

	public void cleanUp() {

	}

	public void render(Graphics g) {
		if (isVisible) {
			capture(g, width, height, true);
			g.setColor(0);
			g.drawLine(20, 0, 20, height - 20);
			release(g, width, height, false);
		}
	}

	protected boolean traverse(int dir, int viewportWidth, int viewportHeight, int[] visRect_inout) {
		return false;
	}
}
